package com.sc.springdata.repo;

import com.sc.springdata.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author shi kang
 * @email shikang1008@outlook.com
 * @date 2024/6/20
 * @description Brief description of the class
 */
@Repository
public interface UserRepo extends JpaRepository<User,Long>  {

    @Override
    <S extends User> List<S> saveAll(Iterable<S> entities);
}
